STEP 10: Let's change the polygon's location!

The polygon has five parameters, just like the star! Four are integers and one is a string. Use the comment above the code to help you determine which parameters to change!

  • Change the polygon's x parameter to -50.
  • Change the polygon's y parameter to 50.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)